/*    */ package com.zimbra.qa.unittest.prov.soap;
/*    */ 
/*    */ import com.zimbra.common.service.ServiceException;
/*    */ import com.zimbra.cs.account.soap.SoapProvisioning;
/*    */ import com.zimbra.qa.unittest.prov.ProvTestUtil;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class SoapProvTestUtil
/*    */   extends ProvTestUtil
/*    */ {
/*    */   SoapProvTestUtil()
/*    */     throws Exception
/*    */   {
/* 27 */     super(SoapProvisioning.getAdminInstance());
/* 28 */     SoapProvisioning prov = getProv();
/* 29 */     prov.soapSetHttpTransportDebugListener(new SoapDebugListener());
/*    */   }
/*    */   
/*    */   SoapProvisioning getProv() {
/* 33 */     return (SoapProvisioning)this.prov;
/*    */   }
/*    */   
/*    */   static SoapProvisioning getSoapProvisioning(String userName, String password) throws ServiceException
/*    */   {
/* 38 */     SoapProvisioning sp = new SoapProvisioning();
/* 39 */     sp.soapSetHttpTransportDebugListener(new SoapDebugListener());
/* 40 */     sp.soapSetURI("https://localhost:7071/service/admin/soap/");
/* 41 */     sp.soapAdminAuthenticate(userName, password);
/* 42 */     return sp;
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/qa/unittest/prov/soap/SoapProvTestUtil.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */